package me.helllp.bootman.core.factory;

import java.util.List;

import me.helllp.bootman.core.bean.MethodBean;

public class ServiceImplFactory extends AbstractFactory{

	private static final long serialVersionUID = 4018965074782685651L;

	private List<MethodBean> nodeList;
	
	private String packageName;
	
	public ServiceImplFactory(String identify,String basePackage){
		super(identify,basePackage);
	}
	
	@Override
	public String getIdentify() {
		return this.identify + "";
	}

	@Override
	public String getFileName() {
		return getIdentify() + "ServiceImpl.java";
	}

	@Override
	public String getTemplateFile() {
		return "auto/serviceImpl.ftl";
	}

	public List<MethodBean> getNodeList() {
		return nodeList;
	}

	public void setNodeList(List<MethodBean> nodeList) {
		this.nodeList = nodeList;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}
}
